projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b733b
)
(vi-next-line): Ignore return value of line-move.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 12 Aug 2007 18:05:08 +0000
(18:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 12 Aug 2007 18:05:08 +0000
(18:05 +0000)
lisp/emulation/vi.el
patch
|
blob
|
history
diff --git
a/lisp/emulation/vi.el
b/lisp/emulation/vi.el
index 54fb2d1e997ed1ce9ae01ebdcdc201f638abb2b0..977a798080331addef4db5dc01866b5490d5e452 100644
(file)
--- a/
lisp/emulation/vi.el
+++ b/
lisp/emulation/vi.el
@@
-788,7
+788,7
@@
The given COUNT is remembered for future scrollings."
"Go down count lines, try to keep at the same column."
(interactive "p")
(setq this-command 'next-line) ; this is a needed trick
- (if (= (point) (
or
(line-move count) (point)))
+ (if (= (point) (
progn
(line-move count) (point)))
(ding) ; no moving, already at end of buffer
(setq last-command 'next-line)))